const {firefox} = require('playwright');

(async () => {
  const browser = await firefox.launch({headless: true});
  const page = await browser.newPage();
  console.time('firefox');
  await page.goto('https://www.baidu.com/s?ie=utf-8&f=3&rsv_bp=1&rsv_idx=2&tn=baidutop10&wd=spring%20cloud%20feign%E8%B0%83%E7%94%A8%E5%8E%9F%E7%90%86&oq=%25E4%25BF%2584%25E6%2596%25B9%25E7%25A7%25B05%25E4%25BA%25BA%25E8%25B6%258A%25E5%25A2%2583%25E8%25A2%25AB%25E5%2587%25BB%25E6%25AF%2599%2520%25E4%25B9%258C%25E6%2596%25B9%25E5%2590%25A6%25E8%25AE%25A4&rsv_pq=9aa768ce000e2093&rsv_t=01a6%2BnYTEqCrimqhytRWqyCiWGJiB25%2BDUoi8XpJ2e7sSVf8WYFJJjWlICch76h8yQ&rqlang=cn&rsv_enter=1&rsv_dl=ts_6&rsv_sug3=14&rsv_sug1=8&rsv_sug7=100&rsv_sug2=1&rsv_btype=t&prefixsug=spring%2520cloud%2520&rsp=6&inputT=10220&rsv_sug4=10220');
  console.timeEnd('firefox');
  await browser.close();
})();
